<template>
    <div>
        <button @click="showName">学校姓名:{{name}}</button>
        <h4>学校地址:{{addr}}</h4>
    </div>
</template>

<script>
    // 局部引入
    //import {mixin, mixin2} from '../mixin'

    export default {
        name : 'School',
        data(){
            return {
                name:'浙大',
                addr:'浙江杭州',
            }
        },
        //mixins:[mixin, mixin2]
    };


</script>
